package com.syni.mdd.sjb.common.component.utils.feign.service.general;

import com.syni.mdd.sjb.common.component.utils.common.utils.RpcResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @className MddCloudService
 * @description TOO
 * @Author cfx
 * @DATE 2020/6/18 17:59
 * @VERSION 1.0
 **/
@FeignClient(value = "mdd-common-tool",path = "/commonTool")
@RequestMapping("/mddCloudService")
public interface MddCloudService {

    @GetMapping("/updateCloudService")
    RpcResponseVo updateCloudService(@RequestParam("serverName") String serverName,
                                     @RequestParam("version") String version);
}
